<?php

namespace Helpers\Users;

class Helpers_User {

    private $intKey;

    private $Model;

    function __construct ( $Connection, $intKey = null ) {
        $this->Model = new Models_Core_Users ( $Connection );
    }

    function __toString () {
        return $this->getRecord()->getNickname();
    }

    public function signIn () {

    }

    public function signOut () {

    }

    public function hasAccess () {

    }

    public function getRecord () {
        return $this->Model->findOne( $this->intKey );
    }

}

?>
